<tal:block metal:define-macro="standard">
  <head>
    <title>${page_title | NULL}</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="Description" lang="en" content="ADD SITE DESCRIPTION" />
    <meta name="author" content="ADD AUTHOR INFORMATION" />
    <meta name="robots" content="index, follow" />

    <link rel="apple-touch-icon" href="${getPath}/assets/images/apple-touch-icon.png" />
    <link rel="shortcut icon" href="${getPath}/assets/images/favicon.ico" />
    <link rel="stylesheet" href="${getPath}/assets/css/bootstrap.css" />
    <link rel="stylesheet" href="${getPath}/assets/css/bootstrap-theme.css" />
    <link rel="stylesheet" href="${getPath}/assets/css/styles.css" />
    
    <script language="javascript" type="text/javascript" src="${getPath}/assets/javascript/jquery-3.1.1.min.js" />
    <script language="javascript" type="text/javascript" src="${getPath}/assets/javascript/javascript.js" />
    <script language="javascript" type="text/javascript" src="${getPath}/assets/javascript/timer.js" />    
    
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.4.1/js/bootstrap-datepicker.min.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.4.1/css/bootstrap-datepicker3.css"/>
    
    <link rel="stylesheet" type="text/css" href="${getPath}/assets/css/tcal.css" />
    <script type="text/javascript" src="${getPath}/assets/javascript/tcal.js" />

    <script type="text/javascript">
      <!--
    function insertInputFieldName(placeholder_text) {
        var inputField = document.createElement("input");
        inputField.setAttribute("class", "form-control");
        inputField.setAttribute("placeholder", placeholder_text);
        inputField.setAttribute("type", "text");
        inputField.setAttribute("autocomplete", "off");
        inputField.setAttribute("list", "detail_name");
        inputField.setAttribute("name", "detail_name[]");
        var br = document.createElement("br");
        document.getElementById('name').appendChild(inputField);
        document.getElementById('name').appendChild(br);
      }

      function insertInputFieldValue(value_text) {
        var inputField = document.createElement("input");
        inputField.setAttribute("class", "form-control");
        inputField.setAttribute("placeholder", value_text);
        inputField.setAttribute("type", "text");
        inputField.setAttribute("autocomplete", "off");
        inputField.setAttribute("list", "detail_value");
        inputField.setAttribute("name", "detail_value[]");
        var br = document.createElement("br");
        document.getElementById('value').appendChild(inputField);
        document.getElementById('value').appendChild(br);
      }

      function removeField(id) {
        document.getElementById('name_' + id).value = '';
        document.getElementById('value_' + id).value = '';
      }
      //-->
    </script>

    <script type="text/javascript">
    show('fileList');
    function makeFileList() {
        var input = document.getElementById("filesToUpload");
        var ul = document.getElementById("fileList");

        for (var i = 0; i < input.files.length; i++) {
          var li = document.createElement("li");
          li.innerHTML = input.files[i].name;
          ul.appendChild(li);
        }
      }
    </script>
    
  </head>
</tal:block>


<tal:block metal:define-macro="editor">
  <script type="text/javascript" src="${getPath}/assets/editor/nicEdit.js"></script>
  <script type="text/javascript">
    bkLib.onDomLoaded(function () {
    nicEditors.allTextAreas()
    });
  </script>
</tal:block>  



<tal:block metal:define-macro="overview">
  <head>
    <meta charset="utf-8"      />
    <title>${text/structure_metatags_systemoverview | NULL}</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="Description" lang="en" content="ADD SITE DESCRIPTION" />
    <meta name="author" content="ADD AUTHOR INFORMATION" />
    <meta name="robots" content="index, follow" />
    <link rel="apple-touch-icon" href="${getPath}/assets/images/apple-touch-icon.png" />
    <link rel="shortcut icon" href="${getPath}/assets/images/favicon.ico" />
    <link rel="stylesheet" href="${getPath}/assets/css/bootstrap.css" />
    <link rel="stylesheet" href="${getPath}/assets/css/bootstrap-theme.css" />
    <link rel="stylesheet" href="${getPath}/assets/css/styles.css" />
    <script language="javascript" type="text/javascript" src="${getPath}/assets/javascript/timer.js"></script>

    <script type = "text/javascript">
      startTimer(${page_reload});
    </script>
    <meta http-equiv="refresh" content="${page_reload}; URL=${getPath}${getURL}" />    
  </head>
</tal:block>